FROM tutum/lamp:latest
COPY *.sh /
RUN rm -fr /app \
    && git config --global http.sslverify false \
    && git clone -b master https://gitee.com/arlinzhang/unionsql.git  /app \
    && chmod u+x /*.sh
EXPOSE 80
CMD ["/run.sh"]
